<?php

require_once dirname(__FILE__) . '/../_data/LzSqlTest.php';

$sql    = new LzTestClass('LzSqlTest');

try { $sql->parseCmpList(false); }
catch (LzBadUsage $e) { LzTests::ln('false failed'); }

LzTests::ln(
        $sql->parseCmpList(NULL),
        $sql->parseCmpList(true),
        $sql->parseCmpList(0),
        $sql->parseCmpList(5),
        $sql->parseCmpList(0.5),
        $sql->parseCmpList(''),
        $sql->parseCmpList('foo')

    );

var_dump($sql->data);
?>
---EXPECT---
false failed
1=1
|1| = :BIND0
|0| = :BIND1
|5| = :BIND2
|0.5| = :BIND3
1=1
|foo| = :BIND4
array(5) {
  ["BIND0"]=>
  NULL
  ["BIND1"]=>
  NULL
  ["BIND2"]=>
  NULL
  ["BIND3"]=>
  NULL
  ["BIND4"]=>
  NULL
}

